#coding=utf-8
"""
@author : leecrest
@time   : 14-3-1 上午2:29
@brief  :
"""
import leeprofile


def func2(n):
	return n+1


def func1(n):
	m = n
	for i in xrange(1, n):
		m *= func2(i)
	return m


@leeprofile.PyProfile
def func():
	#for i in xrange(1, 10):
	func1(10)
	func2(10)


if __name__ == "__main__":
	func()
	func2(11)
	func()

